function main() {
//declare the variable to become the buffer
Var:Number mysky;
//declare the variable to hold the image's height value
Var:Number imgHgt;
//be sure to create the sky.bmp first
Image:Load("sky.bmp", mysky)
//get height of image
Image:GetHeight(mysky,imgHgt)
}